package com.hfy.model.po.user.post;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 韩
 * @since 2024-11-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("post_data")
public class PostDataPo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 帖子id
     */
    private Integer postId;

    /**
     * 帖子标题
     */
    private String title;

    /**
     * 帖子内容
     */
    private String content;

    /**
     * 帖子内容
     */
    private String contentText;


    /**
     * 帖子字数
     */
    private Integer wordNum;

    /**
     * 点赞数量
     */
    private Integer likeNum;
    /**
     * 评论数量
     */
    private Integer commentNum;

    /**
     * 收藏数量
     */
    private Integer collectNum;

    /**
     * 分享数量
     */
    private Integer shareNum;
    /**
     * 浏览数量
     */
    private Integer viewNum;

    /**
     * 权重
     */
    private Double weight;
    /**
     * 权重
     */
    private Integer heat;
}
